package com.oocl.o2o.admin.vo;

import com.oocl.o2o.admin.entity.Merchant;

public class ComplainVO implements Comparable<ComplainVO>{
	private String merchantId;
	private String merchantName;
	private int merchantStatus;
	private int Count;
	
	
	public ComplainVO() {
		super();
	}
	public ComplainVO(String merchantId, String merchantName,
			int merchantStatus, int count) {
		super();
		this.merchantId = merchantId;
		this.merchantName = merchantName;
		this.merchantStatus = merchantStatus;
		Count = count;
	}
	public String getMerchantId() {
		return merchantId;
	}
	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}
	public String getMerchantName() {
		return merchantName;
	}
	public void setMerchantName(String merchantName) {
		this.merchantName = merchantName;
	}
	public int getMerchantStatus() {
		return merchantStatus;
	}
	public void setMerchantStatus(int merchantStatus) {
		this.merchantStatus = merchantStatus;
	}
	public int getCount() {
		return Count;
	}
	public void setCount(int count) {
		Count = count;
	}
	@Override
	public int compareTo(ComplainVO o) {
		
		return o.getCount()-this.getCount();
	}

	

}
